package artid.com.arttogo.network;

import android.text.TextUtils;

import java.util.HashMap;
import java.util.Map;

import static artid.com.arttogo.network.AppUtil.id;

public class VolleyMap {

	private static VolleyMap instance;

	public static VolleyMap getInstance() {
		if (null == instance) {
			instance = new VolleyMap();
		}
		return instance;
	}


	public Map<String, String> commentSupport(String id, String state,
											  String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("token", AppUtil.getUser().getToken());
		map.put("state", state);
		map.put("type", type);

		return map;
	}

	/**
	 * 拍卖搜索详情
	 *
	 */
	public Map<String, String> searchInfo(String page, String pagesize, String keyword, String type, String cat_id,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("type", type);
		map.put("keyword", keyword);
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("keyword", keyword);
		map.put("cat_id", cat_id);
		map.put("width", width);

		return map;
	}

	/**
	 * 拍卖 搜索
	 *
	 */
	public Map<String, String> searchList(String keyword, String type,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("type", type);
		map.put("keyword", keyword);
		map.put("width", width);
		return map;
	}
	/**
	 * 机构-评论列表（用于展示所有的评论信息）
	 * 1,机构，2，拍卖会，3专场，4拍品
	 */
	public Map<String, String> jigou_commentList(int page, int pagesize, String id, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("id", id);
		map.put("type", type);
		return map;
	}
	public Map<String, String> jigouInfo(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		return map;
	}

	public Map<String, String> lotInfo(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	public Map<String, String> Login(String loginName, String password,
									 String umToken) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("loginname", loginName);
		map.put("password", password);
		map.put("client_type", "1");
		map.put("device_tokens", umToken);
		return map;
	}

	public Map<String, String> Registered(String mobile, String realname,
										  String code, String password, String Client_Type, String version) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("mobile", mobile);
		map.put("realname", realname);
		map.put("code", code);
		map.put("password", password);
		map.put("Client_Type", Client_Type);
		map.put("version", version);

		return map;
	}

	public Map<String, String> code(String mobile, String code) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("mobile", mobile);
		map.put("code", code);

		return map;
	}

	public Map<String, String> resetPwd(String password, String repassword,
										String code, String mobile) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("password", password);
		map.put("repassword", repassword);
		map.put("code", code);
		map.put("mobile", mobile);

		return map;
	}

	/**
	 * 5.2频道列表 5.2.1接口描述 用于展示用户自定义的资讯频道列表。（频道页面调用）
	 *
	 * @param token
	 * @return
	 */
	public Map<String, String> mychannel(String token) {
		Map<String, String> map = new HashMap<String, String>();
		if (!TextUtils.isEmpty(token))
			map.put("token", token);
		return map;
	}

	public Map<String, String> modifyPwd(String rawpwd, String newpwd,
										 String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("rawpwd", rawpwd);
		map.put("newpwd", newpwd);
		map.put("token", token);

		return map;
	}

	public Map<String, String> logout(String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);

		return map;
	}

	public Map<String, String> sendregcode(String mobile) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("mobile", mobile);
		return map;
	}

	public Map<String, String> sendresetcode(String mobile) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("mobile", mobile);

		return map;
	}

	public Map<String, String> index() {
		Map<String, String> map = new HashMap<String, String>();

		return map;
	}

	public Map<String, String> indexArtwork(String pagesize, String page) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("pagesize", pagesize);
		map.put("page", page);
		return map;
	}

	public Map<String, String> indexArtist(String pagesize, String page) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("pagesize", pagesize);
		map.put("page", page);
		return map;
	}

	public Map<String, String> artistList(String aid, String page,
										  String pagesize, String keyword, String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("aid", aid);
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("keyword", keyword);
		map.put("token", token);

		return map;
	}

	public Map<String, String> artistInfo(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	public Map<String, String> artistWorks(String id, String page,
										   String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("page", page);
		map.put("pagesize", pagesize);

		return map;
	}

	public Map<String, String> artList(String page, String keyword,
									   String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("keyword", keyword);
		map.put("pagesize", pagesize);

		return map;
	}

	public Map<String, String> artDetails(String id, String messid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		if (!TextUtils.isEmpty(messid)) {
			map.put("messid", messid);
		}
		return map;
	}

	public Map<String, String> artComment(String art_id, String page,
										  String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("art_id", art_id);
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	public Map<String, String> commentList(String art_id, String page,
										   String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("art_id", art_id);
		map.put("page", page);
		map.put("pagesize", pagesize);

		return map;
	}

	public Map<String, String> artSupport(String art_id, String token,
										  String state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("art_id", art_id);
		map.put("token", token);
		map.put("state", state);

		return map;
	}

	public Map<String, String> newCommend(String id, String state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("token", AppUtil.getUser().getToken());
		map.put("state", state);

		return map;
	}

	// public Map<String, String> newsList(String page,String pagesize, String
	// type) {
	// Map<String, String> map = new HashMap<String, String>();
	// map.put("page", page);
	// map.put("pagesize", pagesize);
	// map.put("type", type);
	//
	// return map;
	// }
	public Map<String, String> newsList(String time, String page, String type) {
		Map<String, String> map = new HashMap<String, String>();
		if (!TextUtils.isEmpty(time))
		map.put("time", time);
		map.put("page", page);
		map.put("pagesize", 20+"");
		map.put("type", type);
		return map;
	}

	public Map<String, String> categoryList(String id) {
		Map<String, String> map = new HashMap<String, String>();
		// map.put("id", id);

		return map;
	}

	public Map<String, String> newsContent(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	public Map<String, String> zxCommentList(String page, String pagesize,
											 String doc_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("doc_id", doc_id);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	public Map<String, String> auctionList(String page, String stat) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("stat", stat);

		return map;
	}

	public Map<String, String> auctionContent(String auctionid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("auctionid", auctionid);
		return map;
	}

	public Map<String, String> lotList(String auctionid, String page) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("auctionid", auctionid);
		map.put("page", page);

		return map;
	}

	public Map<String, String> exhibitionList(String page, String stat) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("stat", stat);

		return map;
	}

	public Map<String, String> exhibitionContent(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		return map;
	}

	public Map<String, String> galleryList(String title, String page,
										   String size) {

		Map<String, String> map = new HashMap<String, String>();
		map.put("title", title);
		map.put("page", page);
		map.put("pagesize", size);

		return map;
	}

	public Map<String, String> galleryContent(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);

		return map;
	}

	public Map<String, String> personalCenter(String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);

		return map;
	}

	public Map<String, String> collectionList(String page, String pagesize,
											  String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("token", token);

		return map;
	}

	public Map<String, String> myFollow(String page, String pagesize,
										String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("token", token);

		return map;
	}

	/**
	 * 关注动态列表
	 * @param page
	 * @param pagesize
	 * @param token
	 * @return
	 */
	public Map<String, String> follow(String page, String pagesize, String token,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("token", token);
		map.put("width", width);
		return map;
	}

	public Map<String, String> headInfo(String headcontent, String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("headcontent", headcontent);
		map.put("token", token);

		return map;
	}

	public Map<String, String> modifyInfo(String realname, String birthday,
										  String sex, String incomeid, String industryid, String likeid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("realname", realname);
		map.put("birthday", birthday);
		map.put("sex", sex);
		map.put("incomeid", incomeid);
		map.put("industryid", industryid);
		map.put("likeid", likeid);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	public Map<String, String> headInfo(String realname, String birthday,
										String sex, String incomeid, String industryid, String likeid,
										String token) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("realname", realname);
		map.put("birthday", birthday);
		map.put("sex", sex);
		map.put("incomeid", incomeid);
		map.put("industryid", industryid);
		map.put("likeid", likeid);
		map.put("token", token);
		return map;
	}

	public Map<String, String> photoInquiryList(String img, String page,
												String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("img", img);
		map.put("page", page);
		map.put("pagesize", pagesize);

		return map;
	}

	public Map<String, String> artShownum(String token, String art_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);
		map.put("art_id", art_id);

		return map;
	}

	/**
	 * 关注机构，拍品内
	 * @param token
	 * @param artist_id
	 * @param state
	 * @return
	 */
	public Map<String, String> lotFollow(String id,
										 String state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		map.put("state", state);
		return map;
	}
	public Map<String, String> artistFollow(String token, String artist_id,
											String state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);
		map.put("artist_id", artist_id);
		map.put("state", state);
		return map;
	}

	public Map<String, String> artFavorite(String token, String art_id,
										   String state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);
		map.put("art_id", art_id);
		map.put("state", state);
		return map;
	}

	public Map<String, String> artAnswercomment(String art_id, String content,
												String commentid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("art_id", art_id);
		map.put("content", content);
		map.put("commentid", commentid);

		return map;
	}

	public Map<String, String> zxartAnswercomment(String art_id,
												  String content, String commentid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("doc_id", art_id);
		map.put("content", content);
		map.put("commentid", commentid);

		return map;
	}

	public Map<String, String> artReplycomment(String token, String art_id,

											   String content) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);
		map.put("art_id", art_id);
		map.put("content", content);
		return map;
	}

	public Map<String, String> zxartReplycomment(String token, String art_id,
												 String content) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);
		map.put("doc_id", art_id);
		map.put("content", content);
		return map;
	}

	public Map<String, String> commentCommend(String id, String state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		map.put("state", state);
		return map;
	}

	public Map<String, String> allArtList(String page, String keyword,
										  String pagesize, String status) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("keyword", keyword);
		map.put("pagesize", pagesize);
		map.put("status", status);
		return map;
	}

	public Map<String, String> myComment(String token, String page,
										 String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", token);
		map.put("page", page);
		map.put("pagesize", pagesize);
		return map;
	}

	public Map<String, String> institutionList(String page, String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("pagesize", pagesize);
		return map;
	}

	public Map<String, String> institutionContent(String institutionid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("institutionid", institutionid);
		return map;
	}

	/**
	 * 用于展示机构鉴定的藏品列表信息。（机构内容页调用）
	 * @param institutionid
	 * @param width
	 * @param page
	 * @param pagesize
	 * @return
	 */
	public Map<String, String> institutionArtLits(String institutionid,String width,int page, int pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("institutionid", institutionid);
		map.put("width", width);
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		return map;
	}

	public Map<String, String> rqCode(String art_id, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("art_id", art_id);
		if (!TextUtils.isEmpty(type)) {
			map.put("type", type);
		}
		return map;
	}

	public Map<String, String> rqCode(String code) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("code", code);
		map.put("width", "100");
		map.put("token", AppUtil.getUser().getToken());
		// map.put("art_id", art_id);
		// if (!TextUtils.isEmpty(type)) {
		// map.put("type", type);
		// }
		return map;
	}

	public Map<String, String> peopleList() {
		Map<String, String> map = new HashMap<String, String>();
		return map;
	}

	/**
	 * 系统消息
	 *
	 * @param token
	 * @param page
	 * @param pagesize
	 * @return
	 */
	public Map<String, String> messageList(int page, int pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		return map;
	}

	public Map<String, String> commentList(String page, String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page);
		map.put("pagesize", pagesize);
		return map;
	}

	/**
	 * 修改系统消息为已读
	 *
	 * @param messid
	 * @return
	 */
	public Map<String, String> updateSystemread(String messid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("messid", messid);
		return map;
	}
	/**
	 * 修改系统消息为已读
	 *
	 * @param id
	 * @return
	 */
	public Map<String, String> spLogInfo(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		return map;
	}

	/**
	 * 修改系统消息为已读
	 *
	 * @param messid
	 * @return
	 */
	public Map<String, String> qqlogin1(String appsecret, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("appsecret", appsecret);
		map.put("type", type);
		return map;
	}

	/**
	 * qq绑定注册
	 */
	public Map<String, String> sendqqcode(String mobile, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("mobile", mobile);
		map.put("type", type);
		return map;
	}

	/**
	 * qq登录
	 */
	public Map<String, String> qqlogin2(String appsecret, String type,
										String mobile, String headurl, String realname, String code) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("appsecret", appsecret);
		map.put("type", type);
		map.put("mobile", mobile);
		map.put("headurl", headurl);
		map.put("realname", realname);
		map.put("code", code);
		return map;
	}

	/**
	 * 绑定
	 */
	public Map<String, String> blindqq(String appsecret, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("appsecret", appsecret);
		map.put("type", type);
		return map;
	}

	/**
	 * 解除绑定
	 */
	public Map<String, String> clearqq(String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("type", type);
		return map;
	}

	/**
	 * 艺术家商品列表
	 */
	public Map<String, String> artistgoodsList(String artist_id, String page,
											   String pagesize, String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("artist_id", artist_id);
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("width", width);
		return map;
	}

	public Map<String, String> gcGoodslist() {
		Map<String, String> map = new HashMap<String, String>();
		// map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 推荐商品列表
	 */
	public Map<String, String> goodsIndex(int page, int pagesize,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page+"");
		map.put("pagesize", pagesize+"");
		map.put("width", width);
		return map;
	}

	/**
	 * 商品列表
	 */
	public Map<String, String> goodsList(int page, int pagesize, String gc_id,String width,String orderwhere) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page+"");
		map.put("pagesize", pagesize+"");
		map.put("gc_id", gc_id);
		map.put("width", width);
		map.put("orderwhere", orderwhere);
		return map;
	}

	/**
	 * 商品点赞
	 */
	public Map<String, String> likeGoods(String goods_id, String state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("goods_id", goods_id);
		map.put("state", state);
		return map;
	}

	/**
	 * 商品详情
	 */
	public Map<String, String> goodsInfo(String goods_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("goods_id", goods_id);
		return map;
	}

	/**
	 * 收货地址列表
	 */
	public Map<String, String> addressList(String page, String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page);
		map.put("pagesize", pagesize);
		return map;
	}

	/**
	 * 操作地址、新建、编辑
	 */
	public Map<String, String> operationAddress(String true_name,
												String mob_phone, String area_id, String address,
												String address_id, String city_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("true_name", true_name);
		map.put("mob_phone", mob_phone);
		map.put("area_id", area_id);
		map.put("address", address);
		map.put("address_id", address_id);
		map.put("city_id", city_id);

		return map;
	}

	/**
	 * 删除地址
	 */
	public Map<String, String> deleteAddress(String address_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("address_id", address_id);
		return map;
	}

	/**
	 * 设置默认地址,“1”是
	 */
	public Map<String, String> defaultAddress(String address_id,
											  String is_default) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("address_id", address_id);
		map.put("is_default", is_default);

		return map;
	}

	/**
	 * 用户下单
	 */
	public Map<String, String> addOrder(String address_id, String goods_id,
										String orderamount) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("address_id", address_id);
		map.put("goods_id", goods_id);
		map.put("orderamount", orderamount);
		return map;
	}

	/**
	 * 取消订单；订单状态：0(已取消)40:已收货;
	 */
	public Map<String, String> cancelOrder(String order_id, String order_state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("order_id", order_id);
		map.put("order_state", order_state);
		return map;
	}

	/**
	 * 订单列表； 订单状态：0(已取消)1(默认):未付款;2:已付款;3:已发货;4:已收货;
	 */
	public Map<String, String> orderList(String page, String pagesize,
										 String order_state) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("order_state", order_state);
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("width", "400");
		return map;
	}

	/**
	 * 订单详情
	 */
	public Map<String, String> infoOrder(String order_id, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("order_id", order_id);
		map.put("type", type);
		return map;
	}

	/**
	 * 快递信息
	 */
	public Map<String, String> infoExpress(String order_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("order_id", order_id);
		return map;
	}

	/**
	 * 支付
	 */
	public Map<String, String> moneyPay(String order_id, String orderamount,
										String payment_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("order_id", order_id);
		map.put("orderamount", orderamount);
		map.put("payment_id", payment_id);
		return map;
	}

	/**
	 * 确认订单
	 */
	public Map<String, String> confirmOrder(String goods_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("goods_id", goods_id);
		return map;
	}

	/**
	 *
	 * 艺术展厅
	 *
	 * 展厅状态 ：3删除 ，2禁用， 默认1启用
	 */
	public Map<String, String> galleryworkList(String zid, String page,
											   String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("zid", zid);
		map.put("page", page);
		map.put("pagesize", pagesize);
		return map;
	}

	/**
	 *
	 * 艺术展厅
	 *
	 * 展厅状态 ：3删除 ，2禁用， 默认1启用
	 */
	public Map<String, String> zhanhui(String page, String pagesize,
									   String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("width", width);
		map.put("page", page);
		map.put("pagesize", pagesize);
		map.put("state", "1");
		return map;
	}

	/**
	 * 艺术家分类列表
	 */
	public Map<String, String> selectArtistcategory() {
		Map<String, String> map = new HashMap<String, String>();
		return map;
	}

	/**
	 * 广告页
	 */
	public Map<String, String> navigationList() {
		Map<String, String> map = new HashMap<String, String>();
//		map.put("time", "1");
		return map;
	}

	/**
	 * 扫描ibecan
	 */
	public Map<String, String> ibeaconScanning() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("client_type", "1");
		if (TextUtils.isEmpty(AppUtil.getUser().getToken())) {
			map.put("device_tokens", "");
		} else {
			map.put("token", AppUtil.getUser().getToken());
		}

		return map;
	}

	/**
	 * 新版艺术家信息列表和作品信息
	 */
	public Map<String, String> Newartist_artistList(int page, int pagesize,
													String ac_id, String orderid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("ac_id", ac_id);
		map.put("orderid", orderid);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 艺术家个人作品图的列表
	 */
	public Map<String, String> newartList(int page, int pagesize,
										  String imgwide, String artist_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("imgwide", imgwide);
		map.put("artist_id", artist_id);
		return map;
	}

	/**
	 * 用于不文明的艺术品信息进行举报
	 */
	public Map<String, String> report(String id, String content, String type,
									  String inform_type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("content", content);
		map.put("type", type);
		map.put("inform_type", inform_type);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 新版根据艺术家搜索接口使用
	 */
	public Map<String, String> searchartistList(int page, int pagesize,
												String data, String keyword) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("data", data);
		map.put("keyword", keyword);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 推荐艺术家的列表信息
	 */
	public Map<String, String> bannerList(int page, int pagesize,
										  String carousel_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("carousel_id", carousel_id);
		return map;
	}

	/**
	 * 展示艺术品详细信息。（藏品详情页，机构藏品页，关注动态藏品页调用）
	 */
	public Map<String, String> Newart_artDetails(String id, String width,
												 String messid) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("width", width);
		map.put("messid", messid);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 4.12点赞人列表
	 */
	public Map<String, String> artSupportList(int page, int pagesize,
											  String art_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("art_id", art_id);
		return map;
	}

	/**
	 * 删除评论
	 */
	public Map<String, String> delcomment(String comment_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("comment_id", comment_id);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 资讯种类
	 *
	 */
	public Map<String, String> mychannel() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 编辑频道
	 *
	 */
	public Map<String, String> editchannel(String ids) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("ids", ids);
		return map;
	}

	/**
	 * 资讯列表
	 *
	 */
	public Map<String, String> newsList2(String page, String artist_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page);
		map.put("type", "0");
		map.put("artist_id", artist_id);
		return map;
	}

	/**
	 *拍卖会首页
	 */
	public Map<String, String> auctionHome_bannerList(String reheight, String spheight) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("reheight", reheight);
		map.put("spheight", spheight);
		return map;
	}

	/**
	 *拍卖会首页-推荐拍卖会列表
	 */
	public Map<String, String> recomAuctionList(String width,int page) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("width", width);
		map.put("page", page+"");
		return map;
	}

	/**
	 * 拍卖会列表-近期往期
	 */
	public Map<String, String> auction_auctionList(int page, int pagesize, String id, String type,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("id", id);
		map.put("type", type);
		map.put("width", width);
		return map;
	}

	/**
	 * 拍卖会详情
	 */
	public Map<String, String> auctionInfo(String id,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("width", width);
		return map;
	}

	/**
	 * 拍卖会列表-近期往期
	 */
	public Map<String, String> specialList(int page, int pagesize, String id, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("id", id);
		map.put("type", type);
		return map;
	}

	/**
	 * 艺术家列表
	 */
	public Map<String, String> auction_ArtistList(int page, int pagesize, String auction_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("auction_id", auction_id);
		return map;
	}

	/**
	 * 专场详情
	 */
	public Map<String, String> specialInfo(String id,String imgwide) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		map.put("imgwide", imgwide);
		return map;
	}

	/**
	 * 专场详情信息
	 */
	public Map<String, String> specialMsg(String id,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("width", width);
		return map;
	}

	/**
	 * 拍卖行-评论列表（用于展示所有的评论信息）
	 */
	public Map<String, String> auction_CommentList(int page, int pagesize, String id, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("id", id);
		map.put("type", type);
		return map;
	}

	/**
	 * 拍卖会详情信息
	 */
	public Map<String, String> auctionMsg(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		return map;
	}

	/**
	 * 拍卖行-发表评论（用于所有的评论信息）
	 */
	public Map<String, String> replyComment(String id, String type, String content, int score) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		map.put("type", type);
		map.put("content", content);
		map.put("score", score+"");
		return map;
	}

	/**
	 * 拍卖行-回复评论（用于所有的评论信息）
	 */
	public Map<String, String> Answercomment(String id, String type, String commentid, String content, int score) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		map.put("type", type);
		map.put("commentid", commentid);
		map.put("content", content);
		map.put("score", score+"");
		return map;
	}

	/**
	 * 拍卖行-删除评论（用于所有的评论信息）
	 */
	public Map<String, String> delComment(String comment_id, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("comment_id", comment_id);
		map.put("type", type);
		return map;
	}

	/**
	 * 设置/修改/删除提醒
	 */
	public Map<String, String> specialRemind(String id, String time, String content, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		map.put("time", time);
		map.put("content", content);
		map.put("type", type);
		return map;
	}

	/**
	 * 查看提醒
	 */
	public Map<String, String> lookRemind(String id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		return map;
	}

	/**
	 * 拍卖行-拍品列表
	 */
	public Map<String, String> auction_LotList(int page, int pagesize, String id, String type, String width, String order) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("id", id);
		map.put("type", type);
		map.put("width", width);
		map.put("order", order);
		return map;
	}


	/**
	 * 用于不文明的艺术品信息进行举报（拍卖行）
	 */
	public Map<String, String> userInform(String contentid, String content, String type,
										  String inform_type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("contentid", contentid);
		map.put("content", content);
		map.put("type", type);
		map.put("inform_type", inform_type);
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 * 拍卖行收藏接口
	 */
	public Map<String, String> addCollection(String contentid, String inform_type, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("contentid", contentid);
		map.put("inform_type", inform_type);
		map.put("type", type);
		return map;
	}

	/**
	 * 资讯收藏接口
	 */
	public Map<String, String> documentCollection(String contentid, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("contentid", contentid);
		map.put("type", type);
		return map;
	}

	/**
	 * 拍品介绍
	 */
	public Map<String, String> lotMsg(String auction_id) {
		Map<String, String> map = new HashMap<String, String>();

		map.put("id", auction_id);
		return map;
	}

	/**
	 * 拍卖机构列表
	 * @param order
	 * @param page
	 * @param pagesize
	 * @return
	 * 1.推荐2.字母
	 */

	public Map<String, String> jigouList(String order,
										 String page, String pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("order", order);
		if (order.equals("1")) {
			map.put("page", page);
			map.put("pagesize", pagesize);
		}

		return map;
	}

	/**
	 * 拍卖行-发表/修改/删除笔记
	 */
	public Map<String, String> LotAddNote(String id, String type, String content) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("id", id);
		map.put("type", type);
		map.put("content", content);
		return map;
	}

	/**
	 * 个人中心收藏列表
	 */
	public Map<String, String> newCollectionList(int page, int pagesize, String type) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		map.put("type", type);
		return map;
	}

	/**
	 *艺来艺往首页数据
	 */
	public Map<String, String> advsArtist() {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		return map;
	}

	/**
	 *我的笔记
	 */
	public Map<String, String> noteList(int page, int pagesize){
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		return map;
	}

	/**
	 *名人艺术家列表
	 */
	public Map<String, String> celebrityartistList(String key){
		Map<String, String> map = new HashMap<String, String>();
		map.put("key", key);
		return map;
	}

	/**
	 * 名人艺术家详情
	 */
	public Map<String, String> celebrityartistInfo(String id,String width) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("id", id);
		map.put("width", width);
		return map;
	}

	/**
	 * 主页-查询（新版瀑布流）
	 */
	public Map<String, String> selectArt(String keyword,String status,String width,int page, int pagesize) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("keyword", keyword);
		map.put("status", status);
		map.put("width", width);
		map.put("page", page + "");
		map.put("pagesize", pagesize + "");
		return map;
	}

	/**
	 * 艺术家除推荐之外的数据
	 */
	public Map<String, String> capitalartistList (String ac_id) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("type", "2");//安卓为2 IOS为1
		map.put("ac_id", ac_id);
		return map;
	}

	/**
	 * 支付接口
	 */
	public Map<String, String> moneyPay (String order_id,String orderamount,String payment_id,String type,String goods_name) {
		Map<String, String> map = new HashMap<String, String>();
		map.put("token", AppUtil.getUser().getToken());
		map.put("order_id", order_id);
		map.put("orderamount", orderamount);
		map.put("payment_id", payment_id);
		map.put("type", type);
		map.put("goods_name", goods_name);
		return map;
	}
}
